#ifndef LEXICAL_H
#define LEXICAL_H

/*
 * lexical.h
 *
 * Version 1.0
 * Author: rtp
 *
 * Description: interface for lexical analyzer
 *
 */

#include "token.h"

//routine to initialize everything
void lx_init();

//informs the analyzer about the file to be treated
void lx_setFile(char* filename);


void lx_closeFile();

//gives the next Token
Token lx_getToken();

//informs if there is more tokens to be treated
int lx_hasNext();

//in case token is not used
void lx_pushToken(Token t);

#endif
